#include <stdio.h>
int main(void)
{
	int x=1,sum=0,sum2=0;
	while(x<=5){
		sum=x*(x+1)*(x+2);
		sum2+=sum;
		x++;
	}
	printf("%d\n",sum2);
	return 0;
}